Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(api): Fix duplicate DB connection acquired in eth_call #2763

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

slowli
Copy link
Contributor

@slowli slowli commented Aug 28, 2024

What ❔

Fixes a duplicate DB connection getting acquired in the eth_call handler.

Why ❔

Extra connection leads to performance degradation.

Checklist

  • PR title corresponds to the body of PR (we generate changelog entries from PRs).
  • Tests for the changes have been added / updated.
  • Code has been formatted via zk fmt and zk lint.

@slowli slowli marked this pull request as ready for review August 28, 2024 15:42
@slowli slowli added this pull request to the merge queue Aug 28, 2024
Merged via the queue into main with commit 74b764c Aug 28, 2024
49 of 50 checks passed
@slowli slowli deleted the aov-pla-1018-extract-oneshot-vm-executor-interface-fix branch August 28, 2024 16:06
github-merge-queue bot pushed a commit that referenced this pull request Aug 28, 2024
🤖 I have created a release *beep* *boop*
---


##
[24.23.0](core-v24.22.0...core-v24.23.0)
(2024-08-28)


### Features

* Refactor metrics/make API use binaries
([#2735](#2735))
([8ed086a](8ed086a))


### Bug Fixes

* **api:** Fix duplicate DB connection acquired in `eth_call`
([#2763](#2763))
([74b764c](74b764c))
* **vm:** Fix used bytecodes divergence
([#2741](#2741))
([923e33e](923e33e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: zksync-era-bot <[email protected]>
github-merge-queue bot pushed a commit that referenced this pull request Aug 28, 2024
🤖 I have created a release *beep* *boop*
---


##
[24.23.0](core-v24.22.0...core-v24.23.0)
(2024-08-28)


### Features

* Refactor metrics/make API use binaries
([#2735](#2735))
([8ed086a](8ed086a))


### Bug Fixes

* **api:** Fix duplicate DB connection acquired in `eth_call`
([#2763](#2763))
([74b764c](74b764c))
* **vm:** Fix used bytecodes divergence
([#2741](#2741))
([923e33e](923e33e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: zksync-era-bot <[email protected]>
@popzxc
Copy link
Member

popzxc commented Aug 29, 2024

Thank you! This problem bugged me since forever. Glad to see it solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants